473,422 Members | 1,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,422 software developers and data experts.

'web service call failed: 500' using ajax hovermenu and web service

Hi there,

I'm using a hovermenuextender attached to a templatefield of a
gridview, and everything seemed to work fine.. however I've moved on
to add dynamic attributes to the hovermenu. Now I get the error "web
service call failed: 500" in place of the output I want (on the
hovermenu's panel).

When accessing the web service I created (directly through the
browser) everything works fine..

here's my hovermenuextender dynamic attributes

DynamicContextKey='<%=eval("refnumber") %>'
DynamicServiceMethod="GetSearchDetails"
DynamicServicePath="Services.asmx"
DynamicControlID="lbdynamiccontent"

I'm guessing the path or method may be incorrect? I've put
services.asmx in the root folder and services.vb was slipped into the
app_code directory.

The other problem would be with the contextkey, but debugging info
within the webservice never gets thrown (it does when I run the
service directly through the browser) so would a funny parameter do
that?
Any help would be greatly appreciated! I also saw error 12030 instead
of 500 crop up, but that seems to have gone (!!!)

cheers,
Chris

Jun 5 '07 #1
1 8165
On 5 Jun, 12:53, Not Me <clhumphr...@gmail.comwrote:
Hi there,

I'm using a hovermenuextender attached to a templatefield of a
gridview, and everything seemed to work fine.. however I've moved on
to add dynamic attributes to the hovermenu. Now I get the error "web
service call failed: 500" in place of the output I want (on the
hovermenu's panel).
Aha, I realised the helloworld service worked fine.. it was just
anything I created with parameters.. I had my service set up as

Public Function getSearchDetails(ByVal refno As String) As String

so changed this to

Public Function getSearchDetails(ByVal contextKey As String) As String

and all is well!

hope that it useful to any googler's out there.

cheers,
Chris

Jun 5 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: jabailo | last post by:
I wrote a program that loops through a file of records. It parses each line in the file and sends them to a web service that inserts them into an AS400DB2 database using Asynch calls. This is...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
1
by: JDeats | last post by:
So I'm looking for the source behind this sample: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/HoverMenu/HoverMenu.aspx I want to attach a HoverMenu control to a DataGridView control and...
7
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
我们现在遇到一个问题,通过wcf创建的webservice,选择windows service作为宿主,采用java作为客户端调用成功,但是无法使用asp.net ajax调用。...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.